package com.blockmeta.bbs.businesslibrary.business;

import android.content.Context;

import com.umeng.analytics.MobclickAgent;

import java.util.HashMap;

/**
 * Created by author on 2018/5/28.
 * 友盟事件统计埋点
 */

public class UmengEvent {
    public static void eventStatistics(Context context, String key, HashMap<String,String> map){
        if (map==null){
            MobclickAgent.onEvent(context, key);
        }else {
            MobclickAgent.onEvent(context, key, map);
        }
    }


}
